Skip to main content
PUT
Update Retailer Ship-To Location

Authorizations

Authorization
string
header
required

Generate a JWT access token through a Custom Global Integration and provide it with each request in the Authorization header prefixed with "Bearer" and then a single space.

Path Parameters

id
integer<int32>
required

The id of the parent Retailer.

Required range: x >= 1
location_id
integer<int32>
required

The id of the referenced RetailerShipToLocation.

Required range: x >= 1

Body

application/json

An object conforming to the RetailerShipToLocation schema to be merged.

A RetailerShipToLocation represents an EDI N1*ST destination (distribution center, store, drop-ship, or other) under a Retailer.

code
string
required

Unique location code within the parent Retailer + merchant.

Required string length: 1 - 64
Example:

"DC-001"

qualifier
enum<string>
required

The canonical scheme that identifies the location code (EDI qualifiers are normalized to this set).

Available options:
duns,
duns_plus_4,
gln,
buyer_location,
seller_location,
third_party_location,
plant_code,
dodaac,
cage,
dea,
hin,
san,
approver_id,
clli,
census_schedule_d,
census_schedule_k
Example:

"gln"

label
string | null

Optional display label.

Maximum string length: 255
Example:

"Bentonville DC"

location_type
enum<string>
default:dc

Location type.

Available options:
dc,
store,
drop_ship,
other
Example:

"dc"

company
string | null

Optional company name.
Optional Field

Maximum string length: 255
Example:

"Walmart DC"

street
string | null

Optional street address; may contain newlines.
Optional Field

city
string | null

Optional city.
Optional Field

Maximum string length: 255
Example:

"Bentonville"

region_id
integer<int32> | null

Optional Magento directory_country_region id. Reserved for future integration.
Optional Field

Example:

6

region
string | null

Optional free-form region (state/province).
Optional Field

Maximum string length: 255
Example:

"AR"

postcode
string | null

Optional postal code.
Optional Field

Maximum string length: 32
Example:

"72712"

country_id
string | null

Optional two-letter ISO country code. Normalized to uppercase by the server.
Optional Field

Maximum string length: 2
Example:

"US"

telephone
string | null

Optional telephone number.
Optional Field

Maximum string length: 32
Example:

"+1-479-273-4000"

email
string<email> | null

Optional email address.
Optional Field

Maximum string length: 255
Example:

"dc6045@example.com"

is_default
boolean
default:false

When true on save, sibling default locations under the same Retailer are atomically unset.

Example:

true

status
enum<string>
default:active

Location lifecycle status.

Available options:
active,
inactive
Example:

"active"

retailer
RetailerRef · object

Parent Retailer reference. Set from the path; cannot be changed.

Response

OK - The operation completed successfully and there is no response body.